-- GENERATED SPELL FOR [Ango'rosh Brute] --


function spell0_18119(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_18119', 560, 1)
end

function spell1_18119(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(11428,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18119', 2293, 1)
end

function Sorts_18119(pUnit, Event)
local choix_sorts_18119 = math.random(0, 1)
if choix_sorts_18119 == 0 then
pUnit:RegisterEvent('spell0_18119', 1, 1)
end
if choix_sorts_18119 == 1 then
pUnit:RegisterEvent('spell1_18119', 1, 1)
end
end

function mob18119_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18119', math.random(1500, 3000), 1)
end

function mob18119_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18119_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18119_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18119, 1, 'mob18119_Action')
RegisterUnitEvent(18119, 2, 'mob18119_Leave')
RegisterUnitEvent(18119, 3, 'mob18119_Kill')
RegisterUnitEvent(18119, 4, 'mob18119_Die')
